home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
X User Tools
/
X User Tools (O'Reilly and Associates)(1994).ISO
/
instinfo
/
ghostscr
< prev
next >
Wrap
Text File
|
1994-10-02
|
13KB
|
342 lines
#
# This file and any information not otherwise attributed is
# Copyright 1994 by Ready-to-Run Software, Inc.
#
# All Rights Reserved
#
*DESCRIPTION*
Ghostscript, version 2.6.1pl4
Ghostscript is a PostScript (TM) previewer that allows PostScript files to be
viewed either on a X-window or on HP LaserJet/DeskJet printers or
Epson-compatible dot matrix printers.
Adapted from the README file:
Ghostscript is the name of a set of software that provides:
- An interpreter for the Ghostscript language, which very
closely resembles the PostScript (TM) language; and
- A set of C procedures (the Ghostscript library) that
implement the graphics capabilities that appear as primitive
operations in the Ghostscript language.
The Ghostscript language interpreter and library are written entirely
in C, with some assembly-language accelerators for MS-DOS platforms.
.
*LICENSE*
Copyright 1992 Washington State University. All rights reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted.
This software is provided "as is" without express or implied warranty.
Copyright 1992 DigiBoard, Inc. All rights reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted.
This software is provided "as is" without express or implied warranty.
Copyright (C) 1989 by Paul Haeberli <paul@manray.sgi.com>.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation. This software is provided "as is" without express or
implied warranty.
Copyright (C) 1989, 1992 Aladdin Enterprises. All rights reserved.
Ghostscript is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY. No author or distributor accepts responsibility
to anyone for the consequences of using it or for whether it serves any
particular purpose or works at all, unless he says so in writing. Refer
to the Ghostscript General Public License for full details.
Everyone is granted permission to copy, modify and redistribute
Ghostscript, but only under the conditions described in the Ghostscript
General Public License. A copy of this license is supposed to have been
given to you along with Ghostscript so you can know your rights and
responsibilities. It should be in a file named COPYING. Among other
things, the copyright notice and this notice must be preserved on all
copies.
Copyright (c) 1992, 1993 Sam Leffler
Copyright (c) 1992, 1993 Silicon Graphics, Inc.
*
Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided
that (i) the above copyright notices and this permission notice appear in
all copies of the software and related documentation, and (ii) the names of
Sam Leffler and Silicon Graphics may not be used in any advertising or
publicity relating to the software without the specific, prior written
permission of Sam Leffler and Silicon Graphics.
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
OF THIS SOFTWARE.
.
*APPNOTES*
Using Ghostscript: A quick overview
The Ghostscript Pak includes two PostScript previewers: ghostview and gs.
ghostview is an X-window only preview that provides a graphical user interface
for scrolling through PostScript documents. Its use is very self-explanatory;
to try it, run ghostview with a command argument containing the name of a
PostScript document to preview.
To find out the command line flags and X resources for ghostview, check out
the manual page via "man ghostview".
gs is the Ghostscript interpreter itself. It has a short man page and you can
'also find documentation in the '.&TranslateName("/$STAGEOrigin/doc/ghostscript").'directory.'
gs outputs to X windows by default, but gs also can output in Epson-compatible,
HP DeskJet/LaserJet and DigiFAX formats.
To have gs output in Epson-compatible format, include the -sDEVICE=epson flag
on the command line. The default Epson print density is 120 dpi (dots per
inch) horizontal and 72 dpi vertical. You may override this by adding the -x
flag to the command line, including the horizontal and vertical densities. For
example, -x120y60 would select the default while -x360y216 would select the
highest density allowed for a 24-pin printer.
This table shows the allowable densities for Epson 9 and 24 pin printers:
+--------+---------------------------+----------------------+
| | Horizontal | Vertical |
+--------+---------------------------+----------------------+
| 9 Pin | 60, 120, or 240 | 60 or 72 |
| 24 Pin | 60, 120, 180, 240, or 360 | 60, 72, 180, or 216 |
+--------+---------------------------|----------------------+
Note that your printer will support either 60/180 or 72/216 dpi vertically;
this is physically built into the printer, so see your manual to determine
which vertical density or densities you have. Also, gs makes no attempt to
validate the density parameters you supply; unusual things will happen if you
give it bogus or incompatible values.
Since some older Epson printers do not support <Esc>D tabbing, the -o command
line flag disables the <Esc>D tabbing which Ghostscript uses for whitespace
compression. See your printer's manual to determine if you must use this flag.
To have gs output to DeskJet/LaserJet compatible format, include the
most appropriate flag on the command line:
-sDEVICE=deskjet
-sDEVICE=laserjet
-sDEVICE=ljet2p
-sDEVICE=ljet3
-sDEVICE=dfaxlow
-sDEVICE=dfaxhigh
When gs creates output for a printer, it writes the output to a file
in /tmp. To make it easier to print, the Ghostscript Pak includes
a simple shell script: gs2print. Here are two examples of its use:
gs2print -sDEVICE=epson -x60y72 escher.ps | lpr
gs2print -sDEVICE=deskjet golfer.ps | lpr
Note that the escher.ps and golfer.ps PostScript demonstration files are
distributed with Ghostscript. Also note that gs2print can only be used by
a single user at a time; otherwise the two users will clobber each other's
temporary files on /tmp.
Ghostscript Page Model
The PostScript model for locating any point on the page includes two concepts:
a user space in which a typical page is represented by a 612x792 coordinate
system, and a device space which represents a particular output device's
coordinate system.
It is common that printer's cannot print on the entire 8.5x11 surface of a
typical page; it has fixed margins around the page's edges. When this occurs
(on the DeskJet, for example), Ghostscript's page model behaves slightly wrong
(in RTR's opinion). Instead of making sure that each PostScript page fits on
one of the printer's pages, Ghostscript tries to truncate the page in a strange
way. Therefore, RTR disabled all of Ghostscript's margin truncation. This
might result in a very full page being printed across two physical pages in
unusual circumstances.
.
*FILEGROUP* Grouping:Shared: Heading:Unformatted Man pages:
man/man1/gs.1
.
*FILEGROUP* Grouping:Shared: Heading:Formatted Man pages:
man/cat1/gs.1
.
*FILEGROUP* Grouping:Shared: Heading:PostScript Support Files:
slib/ghostscript/bdftops.ps
slib/ghostscript/decrypt.ps
slib/ghostscript/examples/cheq.ps
slib/ghostscript/examples/chess.ps
slib/ghostscript/examples/colorcir.ps
slib/ghostscript/examples/escher.ps
slib/ghostscript/examples/golfer.ps
slib/ghostscript/examples/snowflak.ps
slib/ghostscript/examples/tiger.ps
slib/ghostscript/font2c.ps
slib/ghostscript/gs_dbt_e.ps
slib/ghostscript/gs_dps1.ps
slib/ghostscript/gs_fonts.ps
slib/ghostscript/gs_init.ps
slib/ghostscript/gs_lev2.ps
slib/ghostscript/gs_statd.ps
slib/ghostscript/gs_sym_e.ps
slib/ghostscript/gs_type0.ps
slib/ghostscript/gslp.ps
slib/ghostscript/impath.ps
slib/ghostscript/landscap.ps
slib/ghostscript/level1.ps
slib/ghostscript/prfont.ps
slib/ghostscript/ps2ascii.ps
slib/ghostscript/ps2epsi.ps
slib/ghostscript/ps2image.ps
slib/ghostscript/pstoppm.ps
slib/ghostscript/quit.ps
slib/ghostscript/showpage.ps
slib/ghostscript/type1ops.ps
slib/ghostscript/wrfont.ps
.
*FILEGROUP* Grouping:Shared: Heading:Other Documentation:
doc/ghostscript/NEWS
doc/ghostscript/ansi2knr.1
doc/ghostscript/devices.doc
doc/ghostscript/drivers.doc
doc/ghostscript/fonts.doc
doc/ghostscript/hershey.doc
doc/ghostscript/history.doc
doc/ghostscript/humor.doc
doc/ghostscript/language.doc
doc/ghostscript/lib.doc
doc/ghostscript/make.doc
doc/ghostscript/ps2epsi.doc
doc/ghostscript/psfiles.doc
doc/ghostscript/readme.doc
doc/ghostscript/use.doc
doc/ghostscript/xfonts.doc
.
*FILEGROUP* Grouping:Shared: Heading:Other Shareable files:
slib/ghostscript/Fontmap
slib/ghostscript/README
slib/ghostscript/fonts/bchb.afm
slib/ghostscript/fonts/bchb.gsf
slib/ghostscript/fonts/bchbi.afm
slib/ghostscript/fonts/bchbi.gsf
slib/ghostscript/fonts/bchr.afm
slib/ghostscript/fonts/bchr.gsf
slib/ghostscript/fonts/bchri.afm
slib/ghostscript/fonts/bchri.gsf
slib/ghostscript/fonts/cyr.gsf
slib/ghostscript/fonts/cyri.gsf
slib/ghostscript/fonts/hrge_r.gsf
slib/ghostscript/fonts/hrge_rb.gsf
slib/ghostscript/fonts/hrge_ro.gsf
slib/ghostscript/fonts/hrgk_c.gsf
slib/ghostscript/fonts/hrgk_s.gsf
slib/ghostscript/fonts/hrgr_r.gsf
slib/ghostscript/fonts/hrgr_rb.gsf
slib/ghostscript/fonts/hrgr_ro.gsf
slib/ghostscript/fonts/hrit_r.gsf
slib/ghostscript/fonts/hrit_rb.gsf
slib/ghostscript/fonts/hrit_ro.gsf
slib/ghostscript/fonts/hrpl_r.gsf
slib/ghostscript/fonts/hrpl_rb.gsf
slib/ghostscript/fonts/hrpl_ro.gsf
slib/ghostscript/fonts/hrpl_s.gsf
slib/ghostscript/fonts/hrpl_sb.gsf
slib/ghostscript/fonts/hrpl_sbo.gsf
slib/ghostscript/fonts/hrpl_so.gsf
slib/ghostscript/fonts/hrpl_t.gsf
slib/ghostscript/fonts/hrpl_tb.gsf
slib/ghostscript/fonts/hrpl_tbi.gsf
slib/ghostscript/fonts/hrpl_ti.gsf
slib/ghostscript/fonts/hrsc_c.gsf
slib/ghostscript/fonts/hrsc_cb.gsf
slib/ghostscript/fonts/hrsc_co.gsf
slib/ghostscript/fonts/hrsc_s.gsf
slib/ghostscript/fonts/hrsc_sb.gsf
slib/ghostscript/fonts/hrsc_so.gsf
slib/ghostscript/fonts/hrsy_r.gsf
slib/ghostscript/fonts/n019003l.afm
slib/ghostscript/fonts/n019003l.gsf
slib/ghostscript/fonts/n021003l.afm
slib/ghostscript/fonts/n021003l.gsf
slib/ghostscript/fonts/ncrb.gsf
slib/ghostscript/fonts/ncrbi.gsf
slib/ghostscript/fonts/ncrr.gsf
slib/ghostscript/fonts/ncrri.gsf
slib/ghostscript/fonts/pagd.gsf
slib/ghostscript/fonts/pagdo.gsf
slib/ghostscript/fonts/pagk.gsf
slib/ghostscript/fonts/pagko.gsf
slib/ghostscript/fonts/pbkd.gsf
slib/ghostscript/fonts/pbkdi.gsf
slib/ghostscript/fonts/pbkl.gsf
slib/ghostscript/fonts/pbkli.gsf
slib/ghostscript/fonts/phvb.gsf
slib/ghostscript/fonts/phvbo.gsf
slib/ghostscript/fonts/phvr.gsf
slib/ghostscript/fonts/phvro.gsf
slib/ghostscript/fonts/phvrrn.gsf
slib/ghostscript/fonts/pncb.gsf
slib/ghostscript/fonts/pncbi.gsf
slib/ghostscript/fonts/pncr.gsf
slib/ghostscript/fonts/pncri.gsf
slib/ghostscript/fonts/pplb.gsf
slib/ghostscript/fonts/pplbi.gsf
slib/ghostscript/fonts/pplr.gsf
slib/ghostscript/fonts/pplri.gsf
slib/ghostscript/fonts/psyr.gsf
slib/ghostscript/fonts/ptmb.gsf
slib/ghostscript/fonts/ptmbi.gsf
slib/ghostscript/fonts/ptmr.gsf
slib/ghostscript/fonts/ptmri.gsf
slib/ghostscript/fonts/putb.gsf
slib/ghostscript/fonts/putbi.gsf
slib/ghostscript/fonts/putr.gsf
slib/ghostscript/fonts/putri.gsf
slib/ghostscript/fonts/pzdr.afm
slib/ghostscript/fonts/pzdr.gsf
slib/ghostscript/fonts/u003043t.afm
slib/ghostscript/fonts/u003043t.gsf
slib/ghostscript/fonts/u004006t.afm
slib/ghostscript/fonts/u004006t.gsf
slib/ghostscript/fonts/zcb.gsf
slib/ghostscript/fonts/zcr.gsf
slib/ghostscript/fonts/zcro.gsf
slib/ghostscript/uglyr.gsf
.
*FILEGROUP* Required
bin/bdftops
bin/font2c
bin/gs
bin/gsbj
bin/gsdj
bin/gslj
bin/gslp
bin/gsnd
bin/ps2ascii
bin/ps2epsi
.